/**
  ******************************************************************************
  * @file    lcd.hpp
  * @author  Chen Long
  * @version V1.0.0
  * @date    2017/10/06
  * @brief   This file provides the lcd handle function.
  *
  ******************************************************************************
**/
#ifndef JLX256128G_H
#define JLX256128G_H
/*
*/
#include "hardware.h"
/*
*/
#define LCD_LINE_MAX   128
#define LCD_COLUMN_MAX 256
#define LCD_PAGE_MAX LCD_LINE_MAX/8
/*
*/
typedef struct
{
  const uint8_t* p_data;
  uint8_t page0;
  uint8_t page1;
  uint8_t column0;
  uint8_t column1;
  uint32_t data_num;
}jlx_display_t;
/*
*/
void jlx256128g_clear(); 
void jlx256128g_clear_page(uint8_t page);
void jlx256128g_display(jlx_display_t* p_dis);
void jlx256128g_init();
/**/
#endif


